package com.qk.service;

import com.qk.common.PageResult;
import com.qk.entity.Course;

import java.util.List;

public interface CourseService {
    void add(Course course);


    void update(Course course);


    Course getById(Integer id);


    void delete(Integer id);


    List<Course> getCoursesBySubject(Integer subject);


    PageResult<Course> list(String name, Integer subject, Integer target, Integer page, Integer pageSize);
}

